package HomeWork02;
import java.util.Random;
public class ProduceNumber {
	public static void main(String[] args)
	{
		int []arr = new int[6];
		Random r = new Random();
		
		for (int i = 0;i < arr.length;i++)
		{
			arr[i] = r.nextInt(33) + 1;
			for (int j = 0; j < i;j ++)
			{
				if (arr[j] == arr[i])
				{
					arr[i] = r.nextInt(33) + 1;
					break;
				}
			}
		}
		for (int c = 0;c < arr.length;c++)
		{
			System.out.print(arr[c]+ " ");
		}
	}
}
